package com.usefullc.demo.vo;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.demo.domain.ApplyDayOff;
import com.usefullc.system.service.component.extend.ApiField;
import com.usefullc.system.service.component.extend.DictField;
import com.usefullc.system.service.component.extend.EnumField;
import com.usefullc.system.service.component.extend.UsefulField;
import com.usefullc.system.service.component.extend.ApiField;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 请假条返回实体
 * @author: 星空
 * @date: 2022-07-27
 */
@Data
public class ApplyDayOffVo extends BaseDomain {

//useful_auto_generate_section_start

    @ApiField(url = "/user/user/listAll", id = "id", value = "userName")
    @ApiModelProperty(notes = "申请人")
    private Long userId;

    @ApiField(url = "/user/user/listAll", id = "id", value = "userName")
    @ApiModelProperty(notes = "审核人")
    private Long auditUserId;

    
    @ApiModelProperty(notes = "ID")
    private Long id;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "创建时间")
    private Date gmtCreate;

    @EnumField(value = "yesNoEnum")
    @ApiModelProperty(notes = "审核状态")
    private Integer status;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "修改时间")
    private Date gmtModified;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "开始时间")
    private Date offDayStart;

    
    @ApiModelProperty(notes = "删除状态")
    private Boolean delState;

    @UsefulField(format = "yyyy-MM-dd")
    @ApiModelProperty(notes = "结束时间")
    private Date offDayEnd;

    
    @ApiModelProperty(notes = "审核意见")
    private String comment;

    
    @ApiModelProperty(notes = "事由")
    private String eventComment;


//useful_auto_generate_section_end


}
